package com.jmx.demo2;

import javax.management.Notification;
import javax.management.NotificationListener;

/**
 * MyListener..
 *
 * @author Lizhong
 * @date 2019/4/24
 */
public class MyListener implements NotificationListener {
    @Override
    public void handleNotification(Notification notification, Object handback) {
        System.out.println(notification.getMessage());

    }
}
